package com.itheima.domain.SoulTest;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document("QuestionNaire")
//问题
public class QuestionNaire implements Serializable {
   private ObjectId id;
   private String name;
   private String cover;
   private String level;
   private Integer star;
   private List<WJQuestion>questions;
}
